package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.Sign;
import com.burgeon.backend.SHOP.entity.SignConfig;

import java.util.List;

public interface SignMapper {

    List<Sign> findSign(String uid);

    Sign findSignLast(String uid, String token);//查询最新一条数据

    Sign findSignToday(String uid, String token, String signtime);

    Integer insertSign(Sign sign);

    Integer deleteSign(String uid);

    Integer insertSignCfg(SignConfig signConfig);

    SignConfig findSignCfg(String token);
}
